package com.gnerv.author.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gnerv.author.dto.CatalogDTO;
import com.gnerv.author.entity.Catalog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 博客平台-栏目表 Mapper 接口
 * </p>
 *
 * @author Gnerv LiGen
 * @since 2019-07-15
 */
public interface CatalogMapper extends BaseMapper<Catalog> {

    CatalogDTO selectCatalog(@Param(value = "bId") String bId);

    List<CatalogDTO> listCatalog(CatalogDTO catalogDTO);
}
